package com.link.base.base.workbreakdown.service;

import com.link.base.base.system.model.Period;
import com.link.base.base.workbreakdown.model.WorkBreakdown;
import com.link.core.basic.service.BasicService;

/**
 * @author  liushoulong
 * @date 2018-11-06
 * @desc 任务分解Service
 */
public interface WorkBreakdownService extends BasicService<WorkBreakdown> {

    /**
     * 查询对应的月度任务量
     * @param p
     * @return Double
     * @throws Exception
     */
    public Double queryByExampleMoth(Period p) throws Exception;

    /**
     * 根据年度计划id批量删除分解任务
     *
     * @param workBreakdown
     * @throws Exception
     */
    public void deleteByAnnualPlanId(WorkBreakdown workBreakdown) throws Exception;
}
